<html>
<head>
    <title>01-test-ftl-测试模板</title>
</head>
<body>
<#--${name}-->

<#list  lists as stu>
    ${stu.name}  ${stu.age}
</#list>

<h1>数据表格</h1>
<table border="1" cellspacing="0" cellpadding="0">
    <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>年龄</th>
        <th>生日</th>
    </tr>
    <#list lists as stu>
        <tr>
            <td>${stu.id}</td>
            <td>${stu.name}</td>
            <td>${stu.age}</td>
            <td>${(stu.birthDate)?string("yyyy-MM-dd")}</td>
        </tr>
    </#list>
</table>

</body>

</html>
